# @Version : 1.0
# @Author  : 刘宇
# @File    : 24_while_exercise05.py
# @Time    : 2025/10/7 22:25

num = int(input("请输入数字："))
i = 0
# 遍历0-num
while i <= num:
    print(f"{i}+{num - i}={num}")
    i += 1
